package cn.yuan.order.service;

import cn.yuan.basic.service.IBaseService;
import cn.yuan.basic.util.PageList;
import cn.yuan.order.domain.AdoptOrder;
import cn.yuan.order.query.AdoptOrderQuery;
import cn.yuan.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> params, Logininfo loginInfo);

    PageList<AdoptOrder> admin(AdoptOrderQuery query, Long id);

    PageList<AdoptOrder> user(AdoptOrderQuery query, Long id);

    AdoptOrder findOne(Long businessKey);

    void quartzCancel(Long aLong);
}
